package com.yitongmao.util;

import android.app.Dialog;
import android.content.Context;

import com.yitongmao.yitmfruit.R;

/*
* 作者：梁伟航 on 2017/7/23 19:30
* 类的用途：
*/
public class MyDialog extends Dialog{
    Context context;
    public MyDialog(Context context, int themeResId) {
        super(context, themeResId);
        this.context = context;
    }

    public MyDialog(Context context) {
        super(context);
        this.context = context;
    }

    protected MyDialog(Context context, boolean cancelable, OnCancelListener cancelListener) {
        super(context, cancelable, cancelListener);
        this.setContentView(R.layout.nickname_dialog);
    }
}
